home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / GL / snurb / control.h < prev    next >
Encoding:
Text File  |  1994-08-02  |  1.6 KB  |  44 lines

  1. /*
  2.  * Copyright 1991, 1992, 1993, 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17. /* event control */
  18. void process_mouse_motion(void);
  19. void process_left_up(void);
  20. void process_left_down(void);
  21. void process_middle_up(void);
  22. void process_middle_down(void);
  23. void deselect_children(struct node_struct *child);
  24. void set_operation(void);
  25. void update_object_position(struct node_struct *selected_object,
  26.     Coord offset[3]);
  27. void compute_motion_limit(Coord motion_origin[3], Mesh control);
  28. void find_control_limits(Mesh control, Coord limits[3][2]);
  29. void process_zip(void);
  30. void update_selected_children(struct node_struct *child, Matrix mat);
  31.  
  32. /* menu control */
  33. void set_defaults(void);
  34. void change_tool(int);
  35. void delete_selected_children(struct node_struct *child);
  36. void delete_object(void);
  37. void select_all(void);
  38. void select_all_root_children(struct node_struct *child);
  39. void group(void);
  40. void ungroup(void);
  41. void sharp_zip(void);
  42. void smooth_zip(void);
  43.  
  44.